{extend name='layout/main'}
{block name='style'}
<style>
    .form-withdraw {
        padding: 20px
    }
</style>
{/block}
{block name='body'}
<div class="main">
    <section class="spotlight parallax bg-cover bg-size--cover" data-spotlight="fullscreen">
        <div class="container align-items-center no-padding">
            {if !$third}
            <div class="alert alert-danger" role="alert">
                微信账户未绑定，<a class="text-white" href="{:__u('bindopenid')}">立即去绑定？</a>
            </div>
            {else/}
            <div class="card">
                <div class="card-header">提现</div>
                <ul class="list-group list-group-flush">
                    <li class="list-group-item">余额：{$member.money_now}</li>
                </ul>
                <form class="form-withdraw" method="post" action="{:__u()}">
                    <div class="form-group">
                        <label for="money">金额</label>
                        <input name="money" type="number" class="form-control" id="money" required>
                    </div>
                    <button type="submit" class="btn btn-primary">提交</button>
                </form>
            </div>
            {/if}
        </div>
    </section>
</div>
{/block}